using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

using Adge.Web;

public partial class SlideShowControlContainer : BaseUserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (IsPostBack == false)
        {
            btnPrevious.Enabled = (bool)Session["PreviousButtonEnabled"];
            btnNext.Enabled = (bool)Session["NextButtonEnabled"];
        }
    }
    protected void btnPrevious_Click(object sender, EventArgs e)
    {
        SlideShowControl1.Previous_Click(sender, e);
    }
    protected void btnNext_Click(object sender, EventArgs e)
    {
        SlideShowControl1.Next_Click(sender, e);
    }
}
